#include <stdio.h>
#include <stdlib.h>

int main(void){
  printf("主进程正在执行....\n");
  int res = system("ping -c 100 cn.bing.com");
  if(res!=0){
    perror("system");
    exit(EXIT_FAILURE);
  }
  return 0;
}
